package ace.module.upms.api.model.dto.ext;

import ace.module.upms.api.model.dto.UpmsRoleAccountDto;
import ace.module.upms.api.model.dto.UpmsRoleDto;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * .
 *
 * @author Caspar
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(title = "角色与对应账户关系对象")
public class UpmsRoleAndRoleAccountDto implements Serializable {

  @Schema(title = "角色")
  private UpmsRoleDto role;

  @Schema(title = "角色对应账户关系")
  private UpmsRoleAccountDto roleAccount;
}